package com.ynet.middleground.mobile.approve.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 项目名：ifp-mobile-approve <br>
 * 包名：com.ynet.middleground.mobile.approve.request <br>
 * 类名：BaseTaskReq <br>
 * 描述：
 *
 * @author Suremotoo
 * @create 2021-03-25 16:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询任务基本请求信息", description = "查询任务基本请求信息")
public class BaseTaskReq implements Serializable {

    private static final long serialVersionUID = 7111639647513025587L;

    @NotBlank(message = "任务 id 不能为空")
    @ApiModelProperty(value = "任务 id", required = true)
    private String taskId;

    @NotNull(message = "用户 id 不能为空")
    @ApiModelProperty(value = "用户 id", required = true)
    private Integer userId;

}
